package cn.yuanqiao.common.license.utils;

import java.io.Serializable;
import java.util.List;

/**
 * 自定义需要校验的License参数
 *
 */
public class LicenseCheckModel implements Serializable{

    private static final long serialVersionUID = 8600137500316662317L;
    /**
     * 是否永久授权
     */
    private boolean isyongjiu;

    /**
     * 临时授权时间
     */
    private String youxiaoqi;
    /**
     * 可被允许的华为2810v5c73的主控ip
     */
    private String zkip;
    /**
     * 可被允许的华为2810v5c73的sn
     */
    private String sn;
    /**
     * 可被允许的IP地址
     */
    private List<Object> ipAddress;

    /**
     * 可被允许的MAC地址
     */
    private List<String> macAddress;

    /**
     * 可被允许的CPU序列号
     */
    private String cpuSerial;

    /**
     * 可被允许的主板序列号
     */
    private String mainBoardSerial;

    public String getZkip() {
        return zkip;
    }

    public void setZkip(String zkip) {
        this.zkip = zkip;
    }

    public boolean isIsyongjiu() {
        return isyongjiu;
    }

    public void setIsyongjiu(boolean isyongjiu) {
        this.isyongjiu = isyongjiu;
    }

    public String getYouxiaoqi() {
        return youxiaoqi;
    }

    public void setYouxiaoqi(String youxiaoqi) {
        this.youxiaoqi = youxiaoqi;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public List<Object> getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(List<Object> ipAddress) {
        this.ipAddress = ipAddress;
    }

    public List<String> getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(List<String> macAddress) {
        this.macAddress = macAddress;
    }

    public String getCpuSerial() {
        return cpuSerial;
    }

    public void setCpuSerial(String cpuSerial) {
        this.cpuSerial = cpuSerial;
    }

    public String getMainBoardSerial() {
        return mainBoardSerial;
    }

    public void setMainBoardSerial(String mainBoardSerial) {
        this.mainBoardSerial = mainBoardSerial;
    }

    @Override
    public String toString() {
        return "LicenseCheckModel{" +
                "isyongjiu=" + isyongjiu +
                ", youxiaoqi='" + youxiaoqi + '\'' +
                ", zkip='" + zkip + '\'' +
                ", sn='" + sn + '\'' +
                ", ipAddress=" + ipAddress +
                ", macAddress=" + macAddress +
                ", cpuSerial='" + cpuSerial + '\'' +
                ", mainBoardSerial='" + mainBoardSerial + '\'' +
                '}';
    }
}
